//
//  PAHeadPicViewController.h
//  PAMobileWallet
//
//  Created by Pay_SMP002 on 13-7-3.
//  Copyright (c) 2013年 平安付. All rights reserved.
//

#import "PABaseViewController.h"
#import "PANavView.h"

typedef enum {
    HEADPICMODE_register,
    HEADPICMODE_change,
}HEADPICMODE;

@class PAHeadPicView;
@class PARealNameAuthViewController;

@interface PAHeadPicViewController : PABaseViewController<PANavViewDelegate,UIImagePickerControllerDelegate,UIActionSheetDelegate,UINavigationControllerDelegate,PANetworkDelegate>
{
    PANavView * navView;
    PAHeadPicView * headPicView;
    PARealNameAuthViewController * realAuthController;
    
    NSString * userPhoneNum;
    
    NSData * imageData; //头像数据
    
    int markType;  //判断是从那边过来的  1：从上一级过来 2：从下一级过来
}

@property(nonatomic,strong)UIImage * photoImage;

- (void)setMode:(HEADPICMODE)mode;
- (void)getphoto:(UIButton *)sender getType:(HEADPICMODE)headType;

- (void)sendPhoneNum:(NSString *)getPhoneNum;
- (void)sendmarkType:(int)getmarkType;

@end
